jEdit should support several buffers per file, so you could have a file several times
open with different cursor positions in each buffer. So you could view different file
positions at the same time.
Technically this would be similar to opening a file in several views, only it would
be within the same jEdit View and you could navigate within different buffers for
the same file like you would navigate between different files (e.g. with BufferTabs
and RecentBufferSwitcher plugins).
See also http://community.jedit.org/?q=node/view/4218
Submitted | weberjn - 2009-07-14 - 09:15:37z | Assigned | nobody |
---|---|---|---|
Priority | 5 | Category | core |
Status | Open | Group | None |
Resolution | None | Visibility | No |
2009-07-14 - 09:24:34z scarlac |
Wouldn't splitting the view do what you want? Regards Seph |
---|---|
2009-07-14 - 09:30:52z weberjn |
> Wouldn't splitting the view do what you want? No, then you have one row of BufferTabs for each split pane and RecentBufferSwitcher only works within the current pane. Also, I'd like to have each file buffer use the full screen area and I'd like to switch between different file buffer instances like between different files. Thanks, Juergen |
2009-07-14 - 10:49:53z scarlac |
> then you have one row of BufferTabs for each split pane and > RecentBufferSwitcher only works within the current pane. Also, I'd like to > have each file buffer use the full screen area and I'd like to switch > between different file buffer instances like between different files. It seems to me that you are describing shortcomings of RecentBufferSwitcher and ButterTabs (mmm). How would you display buffers without actually splitting them or displaying them in a new window - please describe. Regards Seph |
2009-07-14 - 11:00:15z weberjn |
Given Files a.txt, b.txt, c.txt. c.txt should be displayed in two buffers. So the user would see buffers a.txt, b.txt, c.txt[0], c.txt[1] This would be similar to displaying this web page in two Firefox tabs with different scroll positions for each. |
2009-07-15 - 01:28:13z elberry |
I too am confused. So far, it sounds like you're describing the exact behavior of
a single view, with a single buffer? If you have files a.txt, b.txt, c.txt open, you technically have 3 buffers open. There are shortcuts to switch between each "file" within the currently active buffer, and shortcuts to switch between buffers. On my messed up Windows on a Mac Keyboard set up, CTRL+PAGE_UP/DOWN switches between buffers, and COMMAND(ALT)+PAGE_UP/DOWN switches between files within the buffer. I'm confused about the desire to have each buffer fill up the fullscreen, doing so would essentially be the same thing as "unsplitting" the view, no? |
2009-07-15 - 01:33:30z ezust |
The thing you want can basically be achieved with the use of editpane bufferset scope,
bufferatbs, and a split pane. You can split the view, have the buffer open in both
editpanes, and each editpane has its own independent caret position. I can't see what advantage having both of these buffers in the same bufferset can give you. |
2009-07-15 - 01:35:23z ezust |
oops. ignore previous comment. I see you explained it already. I don't think this is a useful feature request to many other users. |
2009-07-15 - 07:48:29z weberjn |
> I can't see what advantage having both of these buffers in the same bufferset can give you. The same as a new view gives, but within the same view. A new view for a file would be almost what I want, but then you have to switch between views with OS means (e.g. Alt-TAB) instead of jEdit means. In my example (but with views) I would change within a.txt, b.txt, c.txt[0] with jEdit means but to c.txt[1] with OS means. Splitting panes is not an option, I want to have a full screen area. |
2009-07-15 - 14:05:23z daleanson |
I think what is being requested is this: The user frequently works with a large file. He works at the top and bottom of this file. He uses BufferTabs to switch between buffers. He wants 2 tabs, both displaying the same buffer, where one is showing the top, the other showing the bottom. This would allow him to quickly switch between working at the top and working at the bottom using BufferTabs to do the switch. He doesn't want a split pane since he wants to see a larger portion of the file. He doesn't want a view per buffer since that won't let him use BufferTabs to switch between buffers. |
2009-07-15 - 18:20:32z elberry |
Ah. I suppose you could accomplish this using markers. If you set a marker at the top and at the bottom, or however many places you want to keep track of, you can switch between markers pretty easily. Although the scrolling might be annoying. However, having multiple tabs open per file would definitely make this a lot easier. |